import java.io.IOException;
import java.util.Scanner;
public class ____BaseIO____ {
    
	public static void puts(java.lang.String string) {
		
	   System.out.print(string);
		System.out.print("\n");
	}
	
	public static void puti(int value) {
		
		System.out.print(value);
		System.out.print("\n");
	}
	public static int geti() {
		
        Scanner input = new Scanner(System.in);
        String str;
        Integer i;
        int result;
        try {
        	str = input.nextLine();
        }
        catch (Exception io) {
        	str = "\0";
        }
        
        try {
        	i = Integer.parseInt(str);
        	result = i;
        }
        catch (Exception e) {
        	result = 0;
        }
        
        return result;
    }
}
